CC = gcc
CFLAGS = -std=c99 -Wall -O2 
objects = hmac.o base32.o sha1.o 

$(objects): %.o: %.c
	$(CC) -c $(CFLAGS) $< -o $@

clean:
	rm *.o

all: $(objects)
	$(CC) $(CFLAGS) -o authenticator google-authenticator.c $(objects) 

